package com.demo2do.fms.admin.service.supplier;

import java.util.List;

import com.demo2do.core.entity.page.Page;
import com.demo2do.fms.admin.entity.search.supplier.VehicleSourceEventSearch;
import com.demo2do.fms.admin.entity.security.Login;
import com.demo2do.fms.admin.service.DataService;
import com.demo2do.fms.entity.vehicle.source.VehicleSourceEvent;

/**
 *
 * @author Ark
 *
 */
public interface VehicleSourceEventService extends DataService<VehicleSourceEvent> {

    /**
     * @param login
     * @return
     */
    public int count(Login login);
    
    /**
     * @param login
     * @param page
     * @return
     */
    public List<VehicleSourceEvent> list(Login login, Page page);

    /**
     * @param search
     * @return
     */
    public int count(VehicleSourceEventSearch search);
    
    /**
     * @param search
     * @param page
     * @return
     */
    public List<VehicleSourceEvent> list(VehicleSourceEventSearch search, Page page);
    
    /**
     * @param supplierIds
     * @return
     */
    public int count(List<Long> supplierIds);
    
    /**
     * @param supplierIds
     * @param page
     * @return
     */
    public List<VehicleSourceEvent> list(List<Long> supplierIds, Page page);
    
}
